
package com.carsite.service;

import java.util.List;

import com.carsite.service.Manager;
import com.carsite.model.OrderNo;
import com.carsite.dao.OrderNoDao;

public interface OrderNoManager extends Manager {
    /**
     * Retrieves all of the orderNos
     */
    public List getOrderNos(OrderNo orderNo);

    /**
     * Gets orderNo's information based on id.
     * @param id the orderNo's id
     * @return orderNo populated orderNo object
     */
    public OrderNo getOrderNo(final String id);

    /**
     * Saves a orderNo's information
     * @param orderNo the object to be saved
     */
    public void saveOrderNo(OrderNo orderNo);

    /**
     * Removes a orderNo from the database by id
     * @param id the orderNo's id
     */
    public void removeOrderNo(final String id);
    
    public OrderNo getOrderNO();
}

